package com.catmai.pssmanager.dao;

import java.sql.SQLException;
import java.util.List;

import com.catmai.pssmanager.po.Storehouse;

public interface StoreHouseDao {
	public List<Storehouse> findAll() throws SQLException;

	public void saveObject(Storehouse storehouse) throws SQLException;

	public void deleteObject(Integer storeHouseId) throws SQLException;

	public void updateObject(Storehouse storehouse) throws SQLException;
	
	public Storehouse getStorehouseById(Integer storeHouseId) throws SQLException;
	
	public void updateStock(Integer storeNumber,Integer storehouseId) throws SQLException;
}
